/**
 * Copyright &copy; 2017-2020 <a href="http://www.fosung.com/">FosungFrame</a> All rights reserved.
 */
package com.fosung.frame.tsdemo.entity.meeting;

import org.hibernate.validator.constraints.Length;
import com.fosung.frame.modules.sys.entity.User;
import com.google.common.collect.Lists;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;

import com.fosung.frame.common.persistence.DataEntity;

/**
 * 党建热点Entity
 * @author zhaofj
 * @version 2017-07-06
 */
public class Meeting extends DataEntity<Meeting> {
	
	private static final long serialVersionUID = 1L;
	private String categoryId;		// 栏目编号
	private String moduleIds;		// 行业编号
	private String levelIds;		// 层级编号
	private String title;		// 标题
	private String address;		// 活动地点
	private String unit;		// 承办单位
	private String image;		// 链接图片
	private String content;		// 内容
	private User createuser;		// 创建者
	private User updateuser;		// 更新者
	private Date updateDate;		//更新时间
	private Date bmstartDate;		// 报名开始时间
	private Date bmendDate;		// 报名结束时间
	private Date startDate;		// 活动开始时间
	private Date endDate;		// 活动结束时间
	private String status;		// 状态
	private String categoryName;
	private List<String> modelIdsList= Lists.newArrayList(); 
	private List<String> levelIdsList= Lists.newArrayList(); 
	public Meeting() {
		super();
	}

	public Meeting(String id){
		super(id);
	}

	@Length(min=0, max=255, message="栏目编号长度必须介于 0 和 255 之间")
	public String getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}
	
	@Length(min=0, max=255, message="行业编号长度必须介于 0 和 255 之间")
	public String getModuleIds() {
		return moduleIds;
	}

	public void setModuleIds(String moduleIds) {
		this.moduleIds = moduleIds;
	}
	
	@Length(min=0, max=255, message="层级编号长度必须介于 0 和 255 之间")
	public String getLevelIds() {
		return levelIds;
	}

	public void setLevelIds(String levelIds) {
		this.levelIds = levelIds;
	}
	
	@Length(min=0, max=255, message="标题长度必须介于 0 和 255 之间")
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	
	@Length(min=0, max=255, message="活动地点长度必须介于 0 和 255 之间")
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}
	
	@Length(min=0, max=255, message="承办单位长度必须介于 0 和 255 之间")
	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}
	
	@Length(min=0, max=255, message="链接图片长度必须介于 0 和 255 之间")
	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}
	
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	public User getCreateuser() {
		return createuser;
	}

	public void setCreateuser(User createuser) {
		this.createuser = createuser;
	}
	
	public User getUpdateuser() {
		return updateuser;
	}

	public void setUpdateuser(User updateuser) {
		this.updateuser = updateuser;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getBmstartDate() {
		return bmstartDate;
	}

	public void setBmstartDate(Date bmstartDate) {
		this.bmstartDate = bmstartDate;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getBmendDate() {
		return bmendDate;
	}

	public void setBmendDate(Date bmendDate) {
		this.bmendDate = bmendDate;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	
	@Length(min=0, max=255, message="状态长度必须介于 0 和 255 之间")
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public List<String> getModelIdsList() {
		return modelIdsList;
	}

	public void setModelIdsList(List<String> modelIdsList) {
		this.modelIdsList = modelIdsList;
	}

	public List<String> getLevelIdsList() {
		return levelIdsList;
	}

	public void setLevelIdsList(List<String> levelIdsList) {
		this.levelIdsList = levelIdsList;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}
	
}